<include file="Public:header" />
<!--主体内容-->
<!--左边-->
<div class="centent_box">
    <include file="Public:left" />
    <!--右边-->
    <div class="centent_right_box">
        <div class="centent_right rightCon">
            <div class="Mtitle">
                <ul>
                    <li class="on"><span>系统管理</span></li>
                </ul>
                <div class="rightWord"><a href="{:U('Set/dict')}">数据字典</a> &gt;&gt; 编辑字典</div>
            </div>
            <form id="info_form" action="{:U('Set/edit_dict')}" method="post" enctype="multipart/form-data">
            <div class="con_div">
                <ul class="formList width2 list_ul list_mp">
                    <li class="dict-info">
                        <label >小区名称：</label>
                        <input type="text"  name="estate_id"  class="inputStyle width3" value="{$dict.title}" readonly>
                    </li>
                    <li>
                        <label>栋：</label>
                        <select class="selectStyle" name="build[bid]" id="build">
                            <option value="{$dict.bid}" selected>{$dict.bname}</option>
                        </select>
                        <label>别名：</label>
                        <input type="text" class="inputStyle width2"  name="build[alias]" value="{$dict.balias}">
                    </li>
                    <li>
                        <label>单元：</label>
                        <select class="selectStyle" name="unit[unid]" id="unit">
                            <option value="{$dict.unid}" selected>{$dict.unname}</option>
                        </select>
                        <label>别名：</label>
                        <input type="text" class="inputStyle width2"  name="unit[alias]" value="{$dict.unalias}">
                    </li>
                    <li>
                        <label>房间：</label>
                        <select class="selectStyle" name="room[rid]" id="room">
                            <option value="{$dict.rid}" selected>{$dict.room}</option>
                        </select>
                        <label>别名：</label>
                        <input type="text" class="inputStyle width2"  name="room[alias]" value="{$dict.alias}">
                    </li>

                    <li class="clear">
                        <label>户型：</label>
                        <select class="selectStyle" name="unit[house_type]" >
                            <option value="0">--请选择--</option>
                            <volist name="house_type" id="vo">
                                <option value="{$vo.type_title}" <if condition="$vo.id eq $dict['typeid']">selected</if> >
                                    {$vo.type_title}
                                </option>
                            </volist>
                        </select>
                        <label>面积：</label>
                        <input type="number" class="inputStyle width2" name="unit[area]" value="{$dict.area}">
                        <span class="tip">平方米</span>
                    </li>
                    <li class="li_radio">
                        <label class="lw90">朝向：</label>
                        <input type="radio" name="unit[aspect]" id="orientations109" value="10" <if condition="$dict.aspect eq 10">checked</if> ><label for="orientations109">西北</label>
                        <input type="radio" name="unit[aspect]" id="orientations108" value="9" <if condition="$dict.aspect eq 9">checked</if> ><label for="orientations108">西南</label>
                        <input type="radio" name="unit[aspect]" id="orientations107" value="8" <if condition="$dict.aspect eq 8">checked</if> ><label for="orientations107">东北</label>
                        <input type="radio" name="unit[aspect]" id="orientations106" value="7" <if condition="$dict.aspect eq 7">checked</if> ><label for="orientations106">东南</label>
                        <input type="radio" name="unit[aspect]" id="orientations105" value="6" <if condition="$dict.aspect eq 6">checked</if> ><label for="orientations105">南北</label>
                        <input type="radio" name="unit[aspect]" id="orientations104" value="5" <if condition="$dict.aspect eq 5">checked</if> ><label for="orientations104">东西</label>
                        <input type="radio" name="unit[aspect]" id="orientations103" value="4" <if condition="$dict.aspect eq 4">checked</if> ><label for="orientations103">北</label>
                        <input type="radio" name="unit[aspect]" id="orientations102" value="3" <if condition="$dict.aspect eq 3">checked</if> ><label for="orientations102">南</label>
                        <input type="radio" name="unit[aspect]" id="orientations101" value="2" <if condition="$dict.aspect eq 2">checked</if> ><label for="orientations101">西</label>
                        <input type="radio" name="unit[aspect]" id="orientations100" value="1" <if condition="$dict.aspect eq 1">checked</if> ><label for="orientations100">东</label>
                    </li>
                    <li class="li_radio">
                        <label class="lw90">装修状况：</label>
                        <input type="radio" name="room[decorate]" id="decorate1" value="1" <if condition="$dict.decorate eq 1">checked</if> ><label for="orientations109">土坯</label>
                        <input type="radio" name="room[decorate]" id="decorate2" value="2" <if condition="$dict.decorate eq 2">checked</if> ><label for="orientations108">简装</label>
                        <input type="radio" name="room[decorate]" id="decorate3" value="3" <if condition="$dict.decorate eq 3">checked</if> ><label for="orientations107">精装</label>
                        <input type="radio" name="room[decorate]" id="decorate4" value="4" <if condition="$dict.decorate eq 4">checked</if> ><label for="orientations106">豪装</label>
                    </li>

                    <li class="clear">
                        <label>户型图：</label><input type="file" name="img">
                    </li>


                    <li>

                    </li>
                    <li>
                        <label></label>
                        <input type="submit" value="提 交" class="btnStyle">
                    </li>
                </ul>
            </div>
            </form>
        </div>
    </div>
</div>
<include file="Public:footer" />